package org.cuit.epoch.seon.combat;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Seon
 * @version 1.0
 * @since 2024-09-13
 */
public class Caretaker {
    private final List<Memento> mementoList = new ArrayList<>();

    public void addMemento(Memento memento) {
        mementoList.add(memento);
    }

    public Memento getMemento(int index) {
        return mementoList.get(index);
    }
}
